﻿using Face8280WebSocketServer.Command;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DoNetDrive.Core.Command;

namespace Face8280WebSocketServer.Command.Record
{
    public class GetRecordResult : INCommandResult
    {
        

      public Models.RecordType RecordType { get; private set; }

        public List<Models.DoorSensorRecord> RecordList { get; set; }
        public GetRecordResult(Models.RecordType type, List<Models.DoorSensorRecord> recordList) 
        {
            RecordType = type;
            RecordList=recordList;
        }

        public void Dispose()
        {
          
        }
    }
}
